home *** CD-ROM | disk | FTP | other *** search
- Path: oxy.rust.net!usenet
- From: ebennett@rust.net
- Newsgroups: comp.lang.c++
- Subject: Re: test
- Date: Fri, 19 Jan 1996 03:56:34 GMT
- Organization: Rust Net - High Speed Internet in Detroit 810-642-2276
- Message-ID: <4dmq6p$jov@oxy.rust.net>
- References: <Pine.OSF.3.91.960109162651.13664E-100000@reno.WPI.EDU> <Pine.SOL.3.91.960117225017.12395B-100000@eesun1>
- NNTP-Posting-Host: liv-13.rust.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- Sanjay Joshi <joshi@eesun1.tamu.edu> wrote:
-
- >Hi
-
- >Can anybody tell me the difference between header files and library files?
-
- >Thanks
-
- >Sanjay
-
- Header files contain the prototypes (definitions) for classes,
- external methods, etc. They may also contain inline methods. Header
- files are source code, processed by the compiler.
-
- Libraries are the object modules (machine code) which implements the
- classes, methods, etc. defined in the header files. The object
- modules are output from the compiler, and placed into a library by
- some program called a librarian. (TLIB for Borland). The linker then
- reads the library when building a program to pull out object modules
- which are referenced in the program.
-
- Hope this helps
-
- Earl
-
-
-